/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.mahumLogs.backedbeans;

import java.io.Serializable;

/**
 *
 * @author Kalast
 */

public class LogsCalendarDate implements Serializable{
    
    public int dayLog;
    public int monthLog;
    public int yearLog;
    public int hourLog;
    public int minuteLog;

    /**
     * Constructeur
     */
    public LogsCalendarDate() {
        
    }
    
    /**
     * 
     * @param ts 
     */
    public LogsCalendarDate(TopSite ts) {
        this.yearLog = ts.getAnnee();
        this.monthLog = ts.getMois();
        this.dayLog = ts.getJour();
        this.hourLog = ts.getHeure();
    }

    /**
     * 
     * @return dayLog
     */
    public int getDayLog() {
        return dayLog;
    }

    /**
     * 
     * @return monthLog
     */
    public int getMonthLog() {
        return monthLog;
    }

    /**
     * 
     * @return yearLog
     */
    public int getYearLog() {
        return yearLog;
    }

    /**
     * 
     * @return hourLog
     */
    public int getHourLog() {
        return hourLog;
    }

    /**
     * 
     * @return minuteLog
     */
    public int getMinuteLog() {
        return minuteLog;
    }
}
